//namespace 命名空间
namespace shuaiGe {
	export class Dehua {
		public name:string = "刘德华"
		public talk (){
			console.log('我是帅哥刘德华')
		}
	}
}

namespace baJie {
	export class Dehua {
		public name:string = "马德华"
		public talk (){
			console.log('我是二师兄技术胖')
		}
	}
}

let dehua1:shuaiGe.Dehua = new shuaiGe.Dehua()
let dehua2:baJie.Dehua = new baJie.Dehua()

dehua1.talk()
dehua2.talk()
